{include file="header.tpl"}
		
		<div id="content">
			<div id="job-listings"></div><!-- #job-listings -->
			<div class="steps">
				<div id="step-1" class="step-active">
					{$translations.publish.step1}
				</div>
				<div id="step-2">
					{$translations.publish.step2}
				</div>
				<div id="step-3">
					{$translations.publish.step3}
				</div>
				<div class="clear"></div>
			</div>
			<br />
			{if $filter_error}
			<div class="validation-failure">
				<img src="{$BASE_URL}img/icon-delete.png" alt="" />
				{$filter_error}
			</div>
			{/if}
			{if $errors}
			<div class="validation-failure">
				<img src="{$BASE_URL}img/icon-delete.png" alt="" />
				{$translations.member.form_error}
			</div>
			{/if}

			<form id="publish_form" method="post" action="/sso/ucexample_1.php?example=login"">
			  <fieldset>
					<legend>{$translations.member.login}</legend>
					<table border="0" cellspacing="2" cellpadding="2">
						<tr>
							<td class="publish-label">{$translations.member.name_label}:</td>
							<td><input {if $errors.company}class="error"{/if} tabindex="6" type="text" name="username" id="username" size="40" value="{if $job.username}{$job.username}{else}{$smarty.post.username}{/if}" />
							<span class="validation-error">{if $errors.username}<img src="{$BASE_URL}img/icon-delete.png" alt="" />{/if}</span>
							</td>
						</tr> 
						<tr>
							<td valign="top">{$translations.member.password_label}:</td>
							<td><input tabindex="7" type="password" name="password" id="password" size="35" value="" />

								<span class="validation-error">{if $errors.password}<img src="{$BASE_URL}img/icon-delete.png" alt="" />{/if}</span>
							
						  </td>
						</tr>
						<tr>
							<td class="publish-label">&nbsp;</td>
							<td><div class="suggestion">
									{$translations.member.register}
								</div>
						  </td>
						</tr>
					</table>
				</fieldset>
				<fieldset><input type="submit" name="submit" id="submit" value="{$translations.member.loginsubmit}" /></fieldset>
				<fieldset class="hidden">
					<input type="checkbox" name="apply_online" id="apply_online" checked="checked" />
					<input type="hidden" name="action" id="as" value="login" />
					<!--
					<input type="hidden" name="action" {if $job.id || $smarty.session.later_edit}value="edit"{else}value="publish"{/if} />
					{if $smarty.session.later_edit}<input type="hidden" name="auth" value="{$smarty.session.later_edit}" />{/if}
					{if $job.id}<input type="hidden" name="job_id" value="{$job.id}" />{/if}
					-->
				</fieldset>
			</form>
		</div><!-- /content -->
		
		{literal}
		<script type="text/javascript">
			$(document).ready(function()
			{
				$('#title').focus();
				
				if (BrowserDetect.browser != "Explorer")
				{
					$("#publish_form").validate({
						rules: {
							company: { required: true },
							title: { required: true },
							description: { required: true },
							poster_email: { required: true }
						},
						messages: {
							company: ' <img src="{/literal}{$BASE_URL}{literal}img/icon-delete.png" alt="" />',
							title: ' <img src="{/literal}{$BASE_URL}{literal}img/icon-delete.png" alt="" />',
							location: ' <img src="{/literal}{$BASE_URL}{literal}img/icon-delete.png" alt="" />',
							description: ' <img src="{/literal}{$BASE_URL}{literal}img/icon-delete.png" alt="" />',
							poster_email: ' <img src="{/literal}{$BASE_URL}{literal}img/icon-delete.png" alt="" />'
						}
					});	
				}
			});
		</script>
		{/literal}

{include file="footer.tpl"}